#include "modern_chat_app.h"
#include <wx/wx.h>
#include <wx/cmdline.h>

class AIAgentApp : public wxApp {
public:
    virtual bool OnInit() override;
    virtual int OnExit() override;
};

wxIMPLEMENT_APP(AIAgentApp);

bool AIAgentApp::OnInit() {
    if (!wxApp::OnInit())
        return false;

    // 创建主窗口
    ModernChatFrame* frame = new ModernChatFrame("智能AI助手系统 - 类似DeepSeek", wxPoint(50, 50), wxSize(1200, 800));
    frame->Show(true);

    return true;
}

int AIAgentApp::OnExit() {
    return wxApp::OnExit();
}
